package jeju.daum.service;

import jeju.daum.model.User;
import jeju.daum.repository.UserDao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService{

	@Autowired UserDao userDao;

	public User getUser(String id) {
		return userDao.getUser(id);
	}
	
	public void saveUser(User user) {
		userDao.saveUser(user);
	}

	public void modifyUser(User user) {
		userDao.modifyUser(user);
	}

	
}
